package com.hermit.${module}.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
<#list typeSet as type>
    <#if type=='Date'>
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
    </#if>
    <#if type=='BigDecimal'>
import java.math.BigDecimal;
    </#if>
</#list>
import lombok.Data;

/** ${table}表实体 */
@Data
@TableName("${table}")
public class ${Domain}Entity {
    <#list fieldList as field>
        <#if field.nameHump=="id">
    @TableId
        </#if>
        <#if field.javaType=="Date">
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        </#if>
    private ${field.javaType} ${field.nameHump};
    </#list>
}